{if $_conditions }
 	<div class="easyui-panel" title="查询条件" style="width:100%" data-options="collapsible:true">
 	<form name="{$id}_query_form" id="{$id}_query_form">
		{foreach from=$_conditions item=field key=k}
    	<div class="fitem" style="display:inline-block; width:46%; padding:5px">
        	<label style="width:20%;text-align:right;">{$field.title}：</label>
    	{if $field.displayType eq "combobox"}
            <input field="{$id}_query" id="{$field.name}" name="{$field.name}" style="cursor:hand;width:75%" class="easyui-combobox" {if $field.required eq 'true'}required{/if}
		        data-options="   
			        valueField: '{$field.valueField}',   
			        textField: '{$field.textField}', 
			        value:'{$field.value | default:''}',
			        url: '{$field.dsUrl}',   
			        onSelect: eventComboboxOnSelect('{$field.name}')" />
		{elseif $field.displayType eq "combotree"}
            <input field="{$id}_query" id="{$field.name}" name="{$field.name}" style="cursor:hand;width:75%" class="easyui-combotree" {if $field.required eq 'true'}required{/if}
		        data-options="   
			        valueField: '{$field.valueField}',   
			        textField: '{$field.textField}', 
			        value:'{$field.value | default:''}',
			        url: '{$field.dsUrl}',   
			        onSelect: eventComboboxOnSelect('{$field.name}')" />
		{elseif $field.displayType eq "checkbox"}
            {foreach from=$field.options item=option key=k}
            <span style='display:inline-block'><input type="checkbox" value="{$option.valueField}" name="{$field.name}" style="width:10px">{$option.textField}</span> &nbsp;
            {/foreach}
        {elseif $field.displayType eq "date"}
			<input field="{$id}_query" id="{$field.name}" name="{$field.name}"  class="easyui-datebox" style="width:75%"  data-options="formatter:date_formatter,parser:date_parser">
        {elseif $field.displayType eq "datetime"}
			<input field="{$id}_query" id="{$field.name}" name="{$field.name}"  class="easyui-datetimebox" style="width:75%"  data-options="formatter:date_formatter,parser:date_parser">
		{else}
			<input field="{$id}_query" id="{$field.name}" name="{$field.name}"  class="easyui-textbox" style="width:75%" >
		{/if}
    	</div>
    	{/foreach}
    	<div class="fitem" style="padding:5px; text-align:center;">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="queryData('{$id}')" data-options="iconCls:'icon-search'">确认查询</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="queryClear('{$id}')" data-options="iconCls:'icon-clear'">清除条件</a>
    	</div>
    </form>
    </div>
 {/if}
 